package com.hxxy.wyp.petsLover.common.entities.vo.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hxxy.wyp.petsLover.common.entities.Good;
import com.hxxy.wyp.petsLover.common.entities.vo.req.DashboardOrderVo;
import com.hxxy.wyp.petsLover.common.entities.vo.req.GoodSumByCategory;
import lombok.Data;
import lombok.ToString;
import org.springframework.aop.target.LazyInitTargetSource;
import org.springframework.data.annotation.Transient;

import java.util.List;

/**
 * @ClassName DashboardVo
 * @Description TODO
 * @Author wyp
 * @Date 2022/12/25 11:19
 * @Version 1.0
 */
@Data
@ToString
public class DashboardVo {
    //用户数
    private Long userNumber;
    //商品数
    private Long commoditiesNumber;
    //订单数
    private Long ordersNumber;
    //分享数
    private Long shareNumber;
    //留言数
    private Long messagesNumber;

    //    @TableField(exist = false)
    private List<GoodSum> goodSums;

    private GoodSum goodSum;
    //每天的订单总数集合
    private List<Integer> orderSumByDate;
    //今日收入
    private String incomeToday;
    //商品分类统计
    private List<String> goodNames;
    private List<Integer> numbers;
    //top收入
    private List<Top5Vo> top5Vos;
    //收益数据
    @Data
    @ToString
    public static class GoodSum {
        private String xData;
        private Integer yData;
        private List<String> xxData;
        private List<Integer> yyData;
    }
}
